package com.ruoyi.web.domain.mes.report;


import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class Personnelpayday {
        @ExcelProperty(value = "姓名")
        private String name;

        @ExcelProperty(value = "车间")
        private int workshopname;

        @ExcelProperty(value = "车间中文")
        private String workshopnamechs;

        @ExcelProperty(value = "车间")
        private int xh;
        /*机台名称*/
        @ExcelProperty(value = "机台名称")
        private String machinename;

        @ExcelProperty(value = "1")
        private double one;
        @ExcelProperty(value = "2")
        private double two;
        @ExcelProperty(value = "3")
        private double three;
        @ExcelProperty(value = "4")
        private double four;
        @ExcelProperty(value = "5")
        private double five;
        @ExcelProperty(value = "6")
        private double six;
        @ExcelProperty(value = "7")
        private double seven;
        @ExcelProperty(value = "8")
        private double eight;
        @ExcelProperty(value = "9")
        private double nine;
        @ExcelProperty(value = "10")
        private double ten;
        @ExcelProperty(value = "11")
        private double eleven;
        @ExcelProperty(value = "12")
        private double twelve;
        @ExcelProperty(value = "13")
        private double thirteen;
        @ExcelProperty(value = "14")
        private double fourteen;
        @ExcelProperty(value = "15")
        private double fifteen;
        @ExcelProperty(value = "16")
        private double sixteen;
        @ExcelProperty(value = "17")
        private double seventeen;
        @ExcelProperty(value = "18")
        private double eighteen;
        @ExcelProperty(value = "19")
        private double nineteen;
        @ExcelProperty(value = "20")
        private double twenty;
        @ExcelProperty(value = "21")
        private double twentyone;
        @ExcelProperty(value = "22")
        private double twentytwo;
        @ExcelProperty(value = "23")
        private double twentythree;
        @ExcelProperty(value = "24")
        private double twentyfour;
        @ExcelProperty(value = "25")
        private double twentyfive;
        @ExcelProperty(value = "26")
        private double twentysix;
        @ExcelProperty(value = "27")
        private double twentyseven;
        @ExcelProperty(value = "28")
        private double twentyeight;
        @ExcelProperty(value = "29")
        private double twentynine;
        @ExcelProperty(value = "30")
        private double thirty;
        @ExcelProperty(value = "31")
        private double thirtyone;

        @ExcelProperty(value = "合计")
        private String total;

        public double getTotals() {
                return one +two+three+four+five+six+seven+eight+nine+ten+eleven+twelve+thirteen+
                        fourteen+fifteen+sixteen+seventeen+eighteen+nineteen+twenty+twentyone+
                        twentytwo+twentythree+twentyfour+twentyfive+twentysix+twentyseven+twentyeight+
                        twentynine+thirty+thirtyone;
        }

}
